package com.start_eternity.oasissafewalk.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Station {
    private Integer stationId;              //站点id
    private String stationName;             //站点名称
    private String stationDes;              //站点描述
    private Short stationStatus;            //站点状态 1表示开启 0表示关闭
    private String province;                //站点所在省份
    private String city;                    //站点所在城市
    private String stationAddress;          //站点具体位置
    private Double longitude;               //站点经度
    private Double latitude;                //站点维度
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;       //添加时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;       //更新时间

    private List<RouteStation> routeStationList;
}
